ADP\BaseVersion\Includes\Core\Rule\PackageRule B

Total Complexity 81
Dependencies 11
Dependents 7
Total lines 708
Lines of code 252
Logical lines of code 100
Comment lines 261
Methods 61
Properties 27

Methods 61

Method Rating Maintainability Complexity Lines of code
__clone()
S
58 4 18
installProductAdjustmentHandler()
S
73 3 5
setRoleDiscounts()
S
67 3 8
installConditionMessageHandler()
S
73 3 5
setAutoAddStrategy()
S
64 2 13
__construct()
S
57 1 16
setApplyFirstTo()
S
66 2 10
hasProductRangeAdjustment()
S
79 2 3
addPackage()
S
74 2 5
setItemGiftLimit()
S
78 2 3
setPackages()
S
71 2 6
setAutoAddLimit()
S
78 2 3
hasConditionMessage()
S
79 2 3
setItemGiftStrategy()
S
67 2 9
hasProductAdjustment()
S
79 2 3
installProductRangeAdjustmentHandler()
S
74 2 5
getAutoAddRemoveDisable()
S
82 1 3
getAutoAddLimit()
S
82 1 3
setAutoAddSubtotalDivider()
S
80 1 3
getAutoAddSubtotalDivider()
S
82 1 3
isReplaceAutoAdds()
S
82 1 3
getApplyFirstTo()
S
82 1 3
setReplaceAutoAdds()
S
80 1 3
getReplaceAutoAddsCode()
S
82 1 3
setReplaceAutoAddsCode()
S
81 1 3
setAutoAddRemoveDisable()
S
81 1 3
getSortableBlocksPriority()
S
82 1 3
getAutoAddShowAsRecommended()
S
82 1 3
setAutoAddShowAsRecommended()
S
80 1 3
setDontApplyBulkIfRolesMatched()
S
81 1 3
getRoleDiscounts()
S
82 1 3
setMaxAmountForGifts()
S
81 1 3
isDontApplyBulkIfRolesMatched()
S
82 1 3
setSortableApplyMode()
S
81 1 3
setSortableBlocksPriority()
S
81 1 3
getSortableApplyMode()
S
82 1 3
setReplaceItemGiftsCode()
S
81 1 3
getAutoAddStrategy()
S
82 1 3
setItemGiftsUseProductFromFilter()
S
81 1 3
getPackages()
S
82 1 3
buildProcessor()
S
79 1 3
setPackagesCountLimit()
S
80 1 3
getPackagesCountLimit()
S
82 1 3
getProductAdjustmentHandler()
S
82 1 3
getProductRangeAdjustmentHandler()
S
82 1 3
getConditionMessageHandler()
S
82 1 3
setItemGifts()
S
77 1 4
getItemGiftsCollection()
S
82 1 3
isItemGiftsUseProductFromFilter()
S
82 1 3
isAutoAddUseProductFromFilter()
S
82 1 3
getItemGiftStrategy()
S
82 1 3
getItemGiftLimit()
S
82 1 3
setItemGiftSubtotalDivider()
S
80 1 3
getItemGiftSubtotalDivider()
S
82 1 3
isReplaceItemGifts()
S
82 1 3
setReplaceItemGifts()
S
80 1 3
getReplaceItemGiftsCode()
S
82 1 3
setAutoAdds()
S
77 1 4
getAutoAddsCollection()
S
82 1 3
setAutoAddUseProductFromFilter()
S
81 1 3
getMaxAmountForGifts()
S
82 1 3